package org.platform.executor.diagnose;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd41011.QueryGtTestResultRequestParam;
import org.platform.mo.csmo.cmd41011.QueryGtTestResultResponseParam;
import org.platform.service.diagnose.DiagnoseRecordServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/8/8
 */
@Service
public class QueryGtTestResultExecutor implements IMicProviderServiceExecutor<QueryGtTestResultRequestParam, QueryGtTestResultResponseParam> {
    @Autowired
    DiagnoseRecordServiceImpl service;

    @Override
    public QueryGtTestResultResponseParam doExecute(QueryGtTestResultRequestParam resultRequestParam) {
        return service.queryGtTestResult(resultRequestParam);
    }
}
